﻿<Controls:UserWindow x:Class="BusinessManager.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:BusinessManager.Resources.Controls"
        xmlns:UIControls="clr-namespace:BusinessManager.UIControls"
        Style="{StaticResource UserWindowStyle}"
        MinHeight="655" MinWidth="1105" Width="1105" Height="655" Title="ERP" WindowStartupLocation="CenterScreen" Background="{DynamicResource BgColor}">
    <Grid>
        <TabControl>
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="22" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type TabItem}}}" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M7.1110356,16.423L7.1110356,18.086 13.051035,18.086 13.051035,16.423z M0,14.839001L20.381,14.839001 18.947113,21.334001 1.4339491,21.334001z M5.9399998,10.815001L14.220999,10.815001 14.220999,12.478001 5.9399998,12.478001z M5.9399998,7.2650008L14.220999,7.2650008 14.220999,8.9270005 5.9399998,8.9270005z M5.9399998,3.7140007L14.220999,3.7140007 14.220999,5.3780003 5.9399998,5.3780003z M2.4299765,0L17.953027,0 17.953027,13.349001 16.087021,13.349001 16.087021,1.8658142 4.2929824,1.8658142 4.2929824,13.349001 2.4299765,13.349001z"/>
                        <TextBlock Text="接单明细" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
                <UIControls:SheetMangerControl/>
            </TabItem>
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="22" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type TabItem}}}" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M15.958999,25.439433L15.958999,28.889256C17.439,28.719266 18.179,28.179294 18.179,27.259339 18.179,26.519378 17.439,25.909408 15.958999,25.439433z M13.692998,17.989812C12.254997,18.179801 11.535997,18.729773 11.535997,19.639728 11.535997,20.419688 12.254997,21.069655 13.692998,21.589629z M13.692998,13.210054L15.958999,13.210054 15.958999,15.279949C18.142,15.349946,19.772,15.609933,20.848001,16.049911L20.848001,19.119754C19.399,18.479787,17.77,18.079806,15.958999,17.939815L15.958999,22.249595C18.225,22.849565 19.849,23.539529 20.832001,24.309489 21.815001,25.079452 22.307001,26.009404 22.307001,27.099347 22.307001,28.359284 21.758001,29.369233 20.662001,30.139194 19.565001,30.909154 17.997,31.37913 15.958999,31.549121L15.958999,34.018996 13.692998,34.018996 13.692998,31.619119C11.592997,31.609118,9.6369963,31.259137,7.8269954,30.569171L7.8269954,27.419332C8.4259958,27.769315 9.3209962,28.109296 10.510996,28.409282 11.700997,28.709266 12.761998,28.889256 13.692998,28.929255L13.692998,24.789466C11.271997,24.129498 9.6189963,23.419536 8.7339957,22.649575 7.8499956,21.879613 7.4069953,20.939662 7.4069953,19.829719 7.4069953,18.639779 7.9819956,17.61983 9.1299961,16.789872 10.277997,15.949915 11.799997,15.45994 13.692998,15.319947z M3.6670208,3.4600541L40.262993,12.079637C40.262993,12.079637 18.857009,27.548884 34.539997,43.658103 34.539997,43.658103 16.94901,30.938722 32.632998,13.559565L5.7160196,6.9898829C5.7160192,6.9898834 -3.8919735,28.608834 12.993014,42.168178 12.993014,42.168178 -8.3429699,31.99867 3.6670208,3.4600541z M12.922041,0L64.001001,8.2603903C24.837604,24.359843,34.712486,39.398501,38.754524,43.705031L38.845398,43.800044 46.101,43.800044 46.101,47.355044 1.2119999,47.355044 1.2119999,43.800044 38.471766,43.800044 38.025221,43.452384C18.706147,28.080951,48.741713,10.380483,48.741713,10.380483L10.802998,1.9001124z"/>
                        <TextBlock Text="企业收支" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
                <UIControls:BOPManagerControl/>
            </TabItem>
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="18" Width="23" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type TabItem}}}" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M30.665044,29.43524C32.627258,29.510739,37.909897,33.510706,38.363001,46.038002L0.022914886,46.339998C0.022914886,46.339998 -1.0330925,30.340132 11.192898,29.585039 16.023035,28.831045 20.851871,33.660504 23.569891,33.207309 26.288011,32.755512 28.702229,29.35974 30.665044,29.43524z M38.318982,23.924138C39.961614,23.855138 41.984453,26.947552 44.259894,27.359052 46.536636,27.771854 50.580315,23.373336 54.62529,24.060839 64.864386,24.748342 63.980869,39.320003 63.980869,39.320003L40.691429,39.119501C39.285801,31.718471 35.915338,28.750959 34.093004,28.239255 35.56763,25.150744 37.388667,23.96184 38.318982,23.924138z M21.908853,4.0760002C27.411691,4.0760002 31.872003,9.144783 31.872004,15.395785 31.872003,21.649417 27.411691,26.717 21.908853,26.717 16.407515,26.717 11.947002,21.649417 11.947002,15.395785 11.947002,9.144783 16.407515,4.0760002 21.908853,4.0760002z M45.455803,0C50.541592,0 54.664001,4.5950603 54.664001,10.2643 54.664001,15.9336 50.541592,20.53 45.455803,20.53 40.371314,20.53 36.249004,15.9336 36.249004,10.2643 36.249004,4.5950603 40.371314,0 45.455803,0z"/>
                        <TextBlock Text="员工信息" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
                <UIControls:EmployeeManagerControl/>
            </TabItem>
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="22" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type TabItem}}}" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M7.9951706,44.649277L7.9951706,49.590428 14.556321,49.590428 14.556321,44.649277z M44.933998,35.53053L44.933998,38.108048C42.032997,38.67725 40.348995,40.549763 40.348995,42.93808 40.348995,45.569497 42.331997,46.926709 45.232998,47.903115 47.240997,48.58112 48.110001,49.234124 48.110001,50.261929 48.110001,51.347336 47.051998,51.945942 45.504997,51.945942 43.740997,51.945942 42.140995,51.376637 41.001995,50.753434L40.186996,53.926556C41.217995,54.52356,42.982998,55.011761,44.800999,55.092763L44.800999,57.669579 47.459,57.669579 47.459,54.903561C50.578999,54.361458 52.287003,52.297345 52.287003,49.884327 52.287003,47.442113 50.984001,45.9497 47.756,44.811093 45.448997,43.942189 44.500996,43.372883 44.500996,42.476876 44.500996,41.71587 45.070999,40.957467 46.833,40.957467 48.786999,40.957467 50.034,41.580773 50.741001,41.877972L51.526001,38.812253C50.632999,38.380051,49.410999,37.999947,47.593998,37.918748L47.593998,35.53053z M46.235996,31.670004C54.482002,31.670004 61.167004,38.354649 61.167004,46.598904 61.167004,54.845261 54.482002,61.530007 46.235996,61.530007 37.988995,61.530007 31.306992,54.845261 31.306992,46.598904 31.306992,38.354649 37.988995,31.670004 46.235996,31.670004z M7.9951706,31.163601L7.9951706,36.104756 14.556321,36.104756 14.556321,31.163601z M7.9951706,18.13683L7.9951706,23.077778 14.556321,23.077778 14.556321,18.13683z M18.326393,18.075825L18.326393,23.016385 38.24184,23.016385 38.24184,18.075825z M35.241009,0.18900719L46.236004,15.443002 32.365005,6.890565z M0,0L32.314709,0 28.451616,8.801911 46.085003,18.736823 46.085003,29.206626C43.258949,29.231223,40.596905,29.936913,38.24184,31.161107L38.24184,31.103207 18.326393,31.103207 18.326393,36.044156 32.435715,36.044156C30.572666,38.473836,29.330633,41.398507,28.961637,44.592377L18.326393,44.592377 18.326393,49.533333 29.10364,49.533333C30.205652,55.979073,34.848762,61.228222,40.964893,63.178002L0,63.178002z"/>
                        <TextBlock Text="工资信息" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
                <UIControls:SalaryManagerControl/>
            </TabItem>
            <!--
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="20" Fill="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M6.8373375,34.641L33.586185,34.641 33.586185,45.214954C33.586185,46.751432,34.15909,48.143414,35.071998,49.244999L6.8373375,49.244999C3.0560532,49.244999,0,46.496336,0,43.114783L0,40.776216C0,37.385763,3.0560532,34.641001,6.8373375,34.641z M49.994898,34.081999C48.453032,34.082 47.198997,35.330887 47.198997,36.876272 47.198997,37.790363 47.645745,38.605556 48.328018,39.119951L48.328018,42.507818C48.328018,43.425709 49.075599,44.168002 49.994898,44.168002 50.912896,44.168002 51.659076,43.425709 51.659076,42.507818L51.659076,39.119951C52.341549,38.605556 52.782997,37.790363 52.782997,36.876272 52.782997,35.330887 51.534062,34.082 49.994898,34.081999z M39.938541,28.917999L60.054655,28.917999C62.23448,28.917999,63.999998,30.683608,63.999998,32.864518L63.999998,45.214779C63.999998,47.392088,62.23448,49.154999,60.054655,49.154999L39.938541,49.154999C37.752319,49.154999,35.987999,47.392088,35.987999,45.214779L35.987999,32.864518C35.987999,30.683608,37.752319,28.917999,39.938541,28.917999z M6.8371906,17.32L39.087998,17.32C38.18311,19.033576,37.666116,20.982749,37.666117,23.05432L37.666117,26.934467C35.565943,27.739156,34.003463,29.63363,33.658368,31.923999L6.8371906,31.923999C3.0559883,31.923999,0,29.177937,0,25.792483L0,23.455415C0,20.064861,3.0559883,17.32,6.8371906,17.32z M49.994399,13.121999C55.4723,13.121999,59.923998,17.580655,59.923998,23.053246L59.923998,27.435 55.4723,27.435 55.4723,23.053246C55.4723,20.033741 53.012699,17.580655 49.994399,17.580655 46.9787,17.580655 44.5217,20.033741 44.5217,23.053246L44.5217,27.435 40.066,27.435 40.066,23.053246C40.066,17.580655,44.5217,13.121999,49.994399,13.121999z M8.5469398,4.9218464C7.2383308,4.9218464 6.1627636,5.9867783 6.1627636,7.3007298 6.1627636,8.6171303 7.2383308,9.6835232 8.5469398,9.6835232 9.8607883,9.6835232 10.933678,8.6171303 10.933678,7.3007298 10.933678,5.9867783 9.8607883,4.9218464 8.5469398,4.9218464z M6.837328,0L49.272449,0C53.045877,0,56.101997,2.7421703,56.101997,6.1353378L56.101997,8.4699116C56.101997,9.6965923 55.690495,10.833225 55.002991,11.791618 53.469179,11.109222 51.779068,10.723825 49.995154,10.723825 46.46653,10.723825 43.289407,12.218716 41.03679,14.603999L6.837328,14.603999C3.0560493,14.603999,0,11.856617,0,8.4699116L0,6.1353378C0,2.7421703,3.0560493,0,6.837328,0z"/>
                        <TextBlock Text="帐号设置" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
            </TabItem>
            
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="20" Fill="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Data="F1 M 19,38L 19,22L 24,22L 24,20L 29,20L 29,19L 46.75,19L 57,29.25L 57,38L 59,38L 59,57L 58.5833,57L 17.4167,57L 17,57L 17,38L 19,38 Z M 24,38L 24,25L 22,25L 22,38L 24,38 Z M 27,23L 27,38L 29,38L 29,23L 27,23 Z M 43,46L 43,49L 33,49L 33,46L 43,46 Z M 54,38L 54,33L 43,33L 43,22L 32,22L 32,38L 54,38 Z M 46,22.75L 46,30L 53.25,30L 46,22.75 Z M 21,42L 21,53L 55,53L 55,42L 21,42 Z"/>
                        <TextBlock Text="业务/流程" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
            </TabItem>
            <TabItem>
                <TabItem.Header>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="5"/>
                            <RowDefinition Height="auto"/>
                        </Grid.RowDefinitions>
                        <Path Stretch="Fill" Height="20" Width="20" Fill="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Data="F1 M 19,38L 19,22L 24,22L 24,20L 29,20L 29,19L 46.75,19L 57,29.25L 57,38L 59,38L 59,57L 58.5833,57L 17.4167,57L 17,57L 17,38L 19,38 Z M 24,38L 24,25L 22,25L 22,38L 24,38 Z M 27,23L 27,38L 29,38L 29,23L 27,23 Z M 43,46L 43,49L 33,49L 33,46L 43,46 Z M 54,38L 54,33L 43,33L 43,22L 32,22L 32,38L 54,38 Z M 46,22.75L 46,30L 53.25,30L 46,22.75 Z M 21,42L 21,53L 55,53L 55,42L 21,42 Z"/>
                        <TextBlock Text="系统设置" Grid.Row="2" HorizontalAlignment="Center"/>
                    </Grid>
                </TabItem.Header>
            </TabItem>
            -->
        </TabControl>
    </Grid>

</Controls:UserWindow>
